package discover

import "log"

type DiscoveryClient interface {
	Register(serviceName, instanceId, healthCheckUrl, instanceHost string, instancePort int, meta map[string]string, logger *log.Logger) bool // 服务注册接口
	DeRegister(instanceId string, logger *log.Logger) bool                                                                                    // 服务注销接口
	DiscoveryServices(serviceName string, logger *log.Logger) []interface{}
}
